package com.yunji.framework_template.books.orm.persistence.model;

import java.util.Date;
import java.util.List;

public class Books {
    private Integer id;

    private String name;

    private String author;

    private String cover;

    private String keywords;

    private String published;

    private String countryCode;

    private String language;

    private Integer chapters;

    private Integer readTimes;

    private Integer likeTimes;

    private Integer commentTimes;

    private Date addDate;
    
    private Double ratings;

    private String introduce;
    // 该书所有章节的信息，但是不包括章节的内容，因为内容太大了
    private List<BooksChapters> booksChaptersList;
    // 该书第一章节的信息及内容
    private BooksChapters firstChapter;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getPublished() {
        return published;
    }

    public void setPublished(String published) {
        this.published = published;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public Integer getChapters() {
        return chapters;
    }

    public void setChapters(Integer chapters) {
        this.chapters = chapters;
    }

    public Integer getReadTimes() {
        return readTimes;
    }

    public void setReadTimes(Integer readTimes) {
        this.readTimes = readTimes;
    }

    public Integer getLikeTimes() {
        return likeTimes;
    }

    public void setLikeTimes(Integer likeTimes) {
        this.likeTimes = likeTimes;
    }

    public Integer getCommentTimes() {
        return commentTimes;
    }

    public void setCommentTimes(Integer commentTimes) {
        this.commentTimes = commentTimes;
    }

    public Date getAddDate() {
        return addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }
    
    public Double getRatings() {
        return ratings;
    }

    public void setRatings(Double ratings) {
        this.ratings = ratings;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
    
    public List<BooksChapters> getBooksChaptersList() {
        return booksChaptersList;
    }

    public void setBooksChaptersList(List<BooksChapters> booksChaptersList) {
        this.booksChaptersList = booksChaptersList;
    }
    
    public BooksChapters getFirstChapter() {
        return firstChapter;
    }
    
    public void setFirstChapter(BooksChapters firstChapter) {
        this.firstChapter = firstChapter;
    }
}